package com.hzhjhh.view.manageView.menus.accountMng.login;

import javax.swing.JButton;
import com.hzhjhh.view.manageView.menus.accountMng.Adminstrator;

/**
 * 菜单栏初始化-仓库-账户管理-添加/修改用户-管理员登录弹出框-取消按钮
 * 
 * @author 12083
 *
 */
public class CancelBt {

	/**
	 * 按钮
	 */
	public static JButton btInit(Adminstrator adminstrator) {
		JButton cancel = new JButton();
		cancel.setBounds(195, 201, 83, 25);
		cancel.setText("取消");

		cancel.addActionListener(event -> adminstrator.setVisible(false));
		return cancel;
	}
}
